VERSION 5.00
Begin VB.Form frmCtlSize 
   BorderStyle     =   5  'Sizable ToolWindow
   Caption         =   "Control Sizes"
   ClientHeight    =   4830
   ClientLeft      =   60
   ClientTop       =   300
   ClientWidth     =   4680
   Icon            =   "frmCtlSize.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   322
   ScaleMode       =   3  'Pixel
   ScaleWidth      =   312
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox txtSize 
      Height          =   855
      Left            =   360
      Locked          =   -1  'True
      MultiLine       =   -1  'True
      TabIndex        =   4
      Text            =   "frmCtlSize.frx":000C
      Top             =   1200
      Width           =   1695
   End
   Begin VB.HScrollBar Y 
      Height          =   255
      Left            =   600
      Max             =   500
      TabIndex        =   1
      Top             =   600
      Width           =   3855
   End
   Begin VB.HScrollBar X 
      Height          =   255
      Left            =   600
      Max             =   500
      TabIndex        =   0
      Top             =   240
      Width           =   3855
   End
   Begin VB.Label lblY 
      BackStyle       =   0  'Transparent
      Height          =   255
      Left            =   120
      TabIndex        =   3
      Top             =   600
      Width           =   495
   End
   Begin VB.Label lblX 
      BackStyle       =   0  'Transparent
      Height          =   255
      Left            =   120
      TabIndex        =   2
      Top             =   240
      Width           =   495
   End
End
Attribute VB_Name = "frmCtlSize"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
X.Value = txtSize.Width
Y.Value = txtSize.Height
End Sub

Private Sub X_Change()
Call X_Scroll
End Sub

Private Sub X_Scroll()
lblX = X.Value
txtSize.Width = X.Value
End Sub

Private Sub Y_Change()
Call Y_Scroll
End Sub

Private Sub Y_Scroll()
lblY = Y.Value
txtSize.Height = Y.Value
End Sub
